<?php 
ob_start();
session_start();

require_once "./caching.php";
$cache = new SimpleCache();
$_SESSION['lang']=$cache->get('lang');
session_unregister('IDEmployee');
session_unregister('user');
session_unregister('fullname');
session_unregister('role');
session_destroy();
setcookie('IDEmployee'); 
//setcookie('user'); 
//setcookie('fullname'); 
//setcookie('role'); 
//setcookie('curLanguage');

header( 'Location: login.php' );

ob_flush();
?>